Skip to content

Conversation

@BillFarber
Copy link
Contributor

Also, fixes a Polaris issue regarding the TransformerFactory.

This has been tested locally with the automated tests as well as manually.

…ose the highest possible.

Also, fixes a Polaris issue regarding the TransformerFactory.
@BillFarber BillFarber requested review from anu3990, Copilot, rjrudin and stevebio and removed request for anu3990, rjrudin and stevebio August 8, 2025 18:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR changes the default TLS version configuration from "TLSv1.2" to "TLS" to allow the JVM to automatically select the highest available TLS version, and adds security improvements to the TransformerFactory to prevent XML External Entity (XXE) injection vulnerabilities.

  • Updated TLS version default from "TLSv1.2" to "TLS" across configuration files and tests
  • Enhanced TransformerFactory security by implementing XXE prevention measures
  • Updated documentation to reflect the new TLS configuration behavior

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/main/java/com/marklogic/kafka/connect/MarkLogicConfig.java Changed default TLS version from "TLSv1.2" to "TLS"
src/main/java/com/marklogic/kafka/connect/DefaultDatabaseClientConfigBuilder.java Updated simple SSL configuration to use "TLS" protocol
src/main/java/com/marklogic/kafka/connect/source/XmlPlanInvoker.java Added secure TransformerFactory configuration with XXE prevention
src/test/java/com/marklogic/kafka/connect/BuildDatabaseClientConfigTest.java Updated test cases to use "TLS" instead of "TLSv1.2"
docs/configuring-the-connector.md Updated documentation to reflect new TLS default behavior
config/marklogic-source.properties Updated example configuration to use "TLS"
config/marklogic-sink.properties Updated example configuration to use "TLS"

@BillFarber BillFarber merged commit b14bfec into develop Aug 8, 2025
2 checks passed
@BillFarber BillFarber deleted the task/fixPolarisTlsIssue branch August 8, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants